<template>
    <a-dropdown style="margin-right:20px;">
        <a class="ant-dropdown-link" @click="e => e.preventDefault()">
            <a-icon type="file-unknown" /> 帮助文档
        </a>
        <a-menu slot="overlay">
            <a-menu-item key="0">
                <a target="_blank" rel="noopener noreferrer" @click="linkJump" href="javascript:;;;">系统帮助</a>
            </a-menu-item>
        </a-menu>
    </a-dropdown>
</template>

<script>
export default {
    data () {
        return {}
    },
    methods: {
        linkJump () {
            let rouerLink = this.$router.resolve({path: "/helpDcoumentPage"});
            window.open(rouerLink.href, '_blank');
        }
    }
}
</script>

<style>

</style>